package com.gd.iot.energy.pojo.superadmin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 权限
 *
 * @author kris
 * @date Created at 2020/8/3 15:55
 */
@Setter
@Getter
public class PermissionSaveDTO {
    /**
     * @fieldName: id
     * @fieldType: Integer
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Integer id;

    /**
     * @fieldName: name
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String name;


    /**
     * @fieldName: description
     * @fieldType: String
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private String description;

    /**
     * @fieldName: perms
     * @fieldType: String
     * @Description: 权限标识、需要在注解配置才生效
     */
    @ApiModelProperty(value = "权限标识、需要在java注解配置才生效", hidden = false)
    private String perms;

    /**
     * @fieldName: orderNum
     * @fieldType: String
     * @Description: 排序
     */
    @ApiModelProperty(value = "排序", hidden = false)
    private Integer orderNum;

    /**
     * @fieldName: parentId
     * @fieldType: Integer
     * @Description: 父级id
     */
    @ApiModelProperty(value = "父级id", hidden = false)
    private Integer parentId;

    /**
     * @fieldName: type
     * @fieldType: Integer
     * @Description: 类型   0：目录   1：菜单   2：按钮
     */
    @ApiModelProperty(value = "类型   0：目录   1：菜单   2：按钮", hidden = false)
    private Integer type;
}
